package com.feign.product;


import com.feign.domain.SpuInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("mall-product")
public interface SpuInfoFeignService {

    @GetMapping("product/spuInfo/findSpu/{skuId}")
    SpuInfo findSpuInfoBySkuId(@PathVariable("skuId") Long skuId);
}
